<template>
  <div class="mb-3">
      <swiper :options="swiperOption">
      <swiper-slide style="height:165px;overflow:hidden">
        <img class="w-100 h-100" src="@/assets/images/210794580bb9303653804bb7b482f2a4.jpeg">
      </swiper-slide>
      <swiper-slide  style="height:165px;overflow:hidden">
        <img class="w-100 h-100" src="@/assets/images/210794580bb9303653804bb7b482f2a4.jpeg">
      </swiper-slide>
      <swiper-slide  style="height:165px;overflow:hidden">
        <img class="w-100 h-100" src="@/assets/images/210794580bb9303653804bb7b482f2a4.jpeg">
      </swiper-slide>
      <div class="swiper-pagination pagination-home text-right px-3 pb-1" slot="pagination"></div>
    </swiper>
  </div>
</template>

<script>
export default {
  name: 'carrousel',
  data () {
    return {
      swiperOption: {
        // autoplay: {
        //   delay: 2000
        // },
        speed: 700,
        loop: true,
        pagination: {
          el: '.pagination-home'
        }
      }
    }
  }
}
</script>

<style lang="scss">
.pagination-home {
  .swiper-pagination-bullet{
    width: .6538rem;
    height: .6538rem;
    background: #fff;
    opacity: 1;
    border-radius: 2px;
    &.swiper-pagination-bullet-active{
      background: #4b67af;
    }
  }
}
</style>
